﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace WooCoo.DataPortal
{
    /// <summary>
    /// 请求封装类
    /// </summary>
    [DataContract]
    [Serializable]
    public class ActionInfo
    {
        /// <summary>
        /// 业务端请求的类型契约,做为功能标识，需要后一层做配置支持
        /// </summary>
        [DataMember]
        public string ContractName { get; set; }
        /// <summary>
        /// 客户端请求方法的KEY
        /// </summary>
        [DataMember]
        public string MethodName { get; set; }

        /// <summary>
        /// 请求的对象数据.
        /// </summary>
        [DataMember]
        public object[] Parameters { get; set; }
    }
}
